CVE-2025-49010
OpenSC: Stack-buffer-overflow WRITE in GET RESPONSE
Description
OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow write in GET RESPONSE. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.
INFO
Published Date :
March 30, 2026, 6:16 p.m.
Last Modified :
April 1, 2026, 6:01 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | LOW | MITRE-CVE | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update OpenSC to version 0.27.0 or later.
- Apply vendor-provided patches for OpenSC.
- Ensure proper input validation for APDU responses.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-49010.
| URL | Resource |
|---|---|
| https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5cf-5wmx-9wh4 | Vendor Advisory |
| https://github.com/OpenSC/OpenSC/wiki/CVE-2025-49010 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-49010 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-49010
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-49010 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-49010 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 01, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* versions up to (excluding) 0.27.0 Added Reference Type GitHub, Inc.: https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5cf-5wmx-9wh4 Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/OpenSC/OpenSC/wiki/CVE-2025-49010 Types: Vendor Advisory -
New CVE Received by [email protected]
Mar. 30, 2026
Action Type Old Value New Value Added Description OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow write in GET RESPONSE. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0. Added CVSS V3.1 AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L Added CWE CWE-121 Added Reference https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5cf-5wmx-9wh4 Added Reference https://github.com/OpenSC/OpenSC/wiki/CVE-2025-49010